<div class="sideTitleContainer">
	<h2 class="sideTitleHeadline">{i18n:itemAdd_headlineText}</h2>
</div>

<form id="itemAddForm" action="/item/add" method="post" accept-charset="UTF-8">
<table  cellspacing="10">
	<tr>
		<td colspan="2">{errorWidget}</td>
	</tr>
	<tr>
		<td valign="top">
			<table>
				<tr>
					<td valign="top">
						<table>
							<tr>
								<td>{i18n:itemAdd_titleLabel}</td>
							</tr>
							<tr>
								<td><input class="itemAddInputText" type="text" 
								name="itemTitle" title="{i18n:itemAdd_titleInfo}" value="{itemTitleValue}"></td>
							</tr>
							<tr>
								<td>{i18n:itemAdd_priceLabel}</td>
							</tr>
							<tr>
								<td><input class="itemAddInputText" type="text" 
								name="itemPrice" title="{i18n:itemAdd_priceInfo}" value="{itemPriceValue}"></td>
							</tr>
							<tr>
								<td>{i18n:itemAdd_descriptionLabel}</td>
							</tr>
							<tr>
								<td><textarea class="itemAddTextarea" 
								name="itemDescription" title="{i18n:itemAdd_descriptionInfo}">{itemDescriptionValue}</textarea></td>
							</tr>
							<tr>
								<td>{i18n:itemAdd_expirationDateLabel}</td>
							</tr>
							<tr>
								<td><select name="itemExpirationDate" id="itemExpirationDate" 
							    	title="{i18n:itemAdd_expirationDateInfo}" size="1">
										{itemExpirationDateOptions}
									</select>
								</td>
							</tr>
							<tr>
							</tr>
							<tr>
								<td height="80px" align="center">
									<button id="itemAddSubmitButton">{i18n:itemAdd_submitButton}</button>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
		<td style="padding-left:30px" valign="top">
			<p>
				<input type="checkbox" id="useLocation" name="useLocation" value="true" {useLocationChecked}>{i18n:itemAdd_useLocation}
			</p>
			<input type="text" id="mapSearch" onkeypress="return handleKeyPress(this, event)"><input type="button" value="{i18n:findAddress}" onclick="return findAddress()">
			{googleMapSelection}
		</td>
	</tr>
</table>
<input type="hidden" name="randomKey" value="{randomKey}">
</form>